Skip to main content

ARDK for Android/com.nianticlabs.ardk/ScannerConfig/voxelSize

voxelSize

[androidJvm]
var voxelSize: Float

Minimum size of voxels for the voxel visualization, in meters.

This parameter controls the resolution of the voxel grid used for voxel visualization. Smaller values result in higher resolution but require more memory and computation. Larger values result in lower resolution but are more efficient. The actual voxel size may become larger due to memory constraints, so this is only a minimum value.

Default:0.0f (defaults to 0.01 m)